﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Composition;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Practices.Prism.Regions;

using Warehouse.Silverlight.Core.Infrastructure;
using Warehouse.Silverlight.Modules.Main.Models;
using Warehouse.Silverlight.Modules.Main.ViewModels;

namespace Warehouse.Silverlight.Modules.Main.Views
{
    [Export]
    [PartCreationPolicy(CreationPolicy.NonShared)]
    public partial class TestEditorView : UserControl
    {
        public TestEditorView()
        {
            InitializeComponent();
        }

        [Import]
        public TestEditorViewModel ViewModel
        {
            set { this.DataContext = value; }
        }

        // UI Events
        private void summitButton_Click(object sender, RoutedEventArgs e)
        {
            
        }

        private void cancelButton_Click(object sender, RoutedEventArgs e)
        {

        }

    }
}
